<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,user-scalable=no"name="viewport">
<title>首页</title>
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/base.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/base.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/bootstrap.min.css" />
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/bootstrap.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/script.js"></script>
</head>
<body>
<?php if($list["purview"] == 0): ?><div id="box">
 <div class="indexHead">
  <p class="indexOne"><span>你好，</span>店长<?php echo ($tel); ?> <a href="<?php echo U('Business/esc');?>" style="float:right; color:#FFFDEF;text-decoration: none;font-size:12px;">[安全退出]&nbsp;&nbsp;</a></p>
  <p class="indexTwo"><a href="<?php echo U('Business/myAsset');?>"><?php if($a == 0): ?>0
    <?php else: ?> <?php echo ($a); endif; ?></a></p>
  <p class="indexThree"><a href="<?php echo U('Business/myAsset');?>">我的资产</a></p><a href="<?php echo U('Business/myAsset');?>">
  <p class="indexFour"><a href="<?php echo U('Business/myAsset');?>"> &nbsp;</a></p>
 </div><!--indexHead-->
 <div class="indexContent">
  <div class="indexCenter">
   <dl class="centerDl"><a href="<?php echo U('Business/renewVip');?>">
    <dt><img src="<?php echo C('WEB_URL');?>Public/business/images/index_03.jpg"></dt>
    <dd>续费VIP</dd></a>
   </dl>
   <dl id="but"><a href="<?php echo U('Business/deposit');?>">
    <dt><img src="<?php echo C('WEB_URL');?>Public/business/images/index_05.jpg"></dt>
    <dd>我要提现</dd></a>
   </dl>
  </div><!--indexCenter-->
 <div class="indexFoot">
  <ul>
   <li class="rechar_li"><img src="<?php echo C('WEB_URL');?>Public/business/images/index_10.jpg" /><a href="<?php echo U('Business/details');?>">交易明细</a></li>
   <li class="bagLi1"><img src="<?php echo C('WEB_URL');?>Public/business/images/index_14.jpg" /><a href="<?php echo U('Business/person1');?>">我的信息</a></li>
   <li><img src="<?php echo C('WEB_URL');?>Public/business/images/index_17.jpg" /><a href="<?php echo U('Business/shopMessage');?>">店铺信息</a></li>
  </ul>
 </div><!--bagThree--></div>
 <div class="navbar navbar-default navbar-fixed-bottom">
   <footer>
    <dl>
     <dt><a href="<?php echo U('index');?>"><img src="<?php echo C('WEB_URL');?>Public/business/images/home.png" /></a></dt>
     <dd><a href="index.html" class="current">首页</a></dd>
    </dl>
    <dl>
     <dt><a href="pullrefresh_sub.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/deal_07.jpg" /></a></dt>
     <dd><a href="pullrefresh_sub.html">员工管理</a></dd>
    </dl>
    <dl>
     <dt><a href="<?php echo U('manage');?>"><img src="<?php echo C('WEB_URL');?>Public/business/images/deal_09.jpg" /></a></dt>
     <dd><a href="<?php echo U('manage');?>">会员管理</a></dd>
    </dl>
   </footer>

  </div><!--/navbar-->
 <?php else: ?>
 <div id="box">
 <!--<div class="navbar navbar-default navbar-fixed-top">
  <header>
   <h1><span class="glyphicon glyphicon-menu-left"></span></h1>
   <p class="title" style="width:100%;text-align: center;">我的卡包</p>
  </header>
 </div>--><!--navbar-fixed-top-->
 <div class="indexHead">
  <p class="indexOne"><span>你好，</span>店员<?php echo ($tel); ?> <a href="<?php echo U('Business/esc');?>" style="float:right; color:#FFFDEF;text-decoration: none;font-size:12px;">[安全退出]&nbsp;&nbsp;</a></p>
  <p class="indexTwo"><a href="#"><?php echo ($data2); ?></a></p>
  <p class="indexThree"><a href="#">今日新增会员</a></p>
  <p class="indexFour"><a href="manage.html">我的会员：<?php echo ($data1); ?></a></p>
 </div><!--indexHead-->
 <div class="indexContent">
  <div class="indexCenter">
   <dl class="centerDl"><a href="manage.html">
    <dt><img src="<?php echo C('WEB_URL');?>Public/business/images/index_02.jpg"></dt>
    <dd>我的会员</dd></a>
   </dl>
   <dl><a href="details.html">
    <dt><img src="<?php echo C('WEB_URL');?>Public/business/images/index_05.jpg"></dt>
    <dd>交易明细</dd></a>
   </dl>
  </div><!--indexCenter-->
 <div class="indexFoot">
  <ul>
   <li class="bagLi1"><img src="<?php echo C('WEB_URL');?>Public/business/images/index_14.jpg" /><a href="<?php echo U('Business/person1');?>">我的信息</a></li>
   <li class="bagLi1"><img src="<?php echo C('WEB_URL');?>Public/business/images/index_17.jpg" /><a href="<?php echo U('Business/shopMessage');?>">店铺信息</a></li>
   <li class="bagLi1"><img src="<?php echo C('WEB_URL');?>Public/business/images/erwei.jpg" /><a href="<?php echo U('Business/discountErwei');?>">扫码折扣</a></li>
   <li class="bagLi1"><img src="<?php echo C('WEB_URL');?>Public/business/images/erwei.jpg" /><a href="<?php echo U('Business/payErwei');?>">购买卡券</a></li>
 
  </ul>
 </div><!--bagThree--></div><?php endif; ?>
</div><!--box-->
<!--会员卡提现提示弹出页面 -->
 <!--<div id="popup"><a href="javascript:;" class="a_click">
  <div id="click_div">
   <div id="dialog">
	<h3><img src="<?php echo C('WEB_URL');?>Public/business/images/index_01.jpg" /></h3>
	<p>抱歉，金额必须大于300元才可提现！</p>
  </div>
 </div></a>
</div>-->
 <!--会员卡提现提示弹出页面 End-->
<script type="text/javascript">
 //会员卡提现提示弹出页面 JS
$("#but").click(function(){
//	$("#click_div").show(),8000;
	setTimeout(function () {
    $("#click_div").fadeIn();
  }, 500);
})  
$(".a_click").click(function(){
//	$("#click_div").hide();
	setTimeout(function () {
    $("#click_div").fadeOut();
  }, 500);
});
</script>
</body>
</html>